package yt.demo.appcoresystem.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;

@Schema(description = "登录信息")
public record LoginDTO(
        @Schema(description = "用户名")
        @NotNull(message = "用户名不能为空") String username,

        @Schema(description = "登录密码")
        @NotNull(message = "密码不能为空") String password,

        String ip
) {
}

